
package com.cari.baju.yog.entity;

public class E_Toko {
    private int id;
    private int category;
    private String name;
    private String address;
    private String phone;
    private double lat, lng;
    private int timestamp;
    private double jarak;

    public E_Toko(int id, int category, String name, String address, String phone, double lat,
            double lng, int timestamp) {
        super();
        this.id = id;
        this.category = category;
        this.name = name;
        this.address = address;
        this.phone = phone;
        this.lat = lat;
        this.lng = lng;
        this.timestamp = timestamp;
    }
    
    public E_Toko(int id, int category, String name, String address, String phone, double lat,
            double lng, int timestamp, double jarak) {
        super();
        this.id = id;
        this.category = category;
        this.name = name;
        this.address = address;
        this.phone = phone;
        this.lat = lat;
        this.lng = lng;
        this.jarak = jarak;
        this.timestamp = timestamp;
    }

    public double getJarak() {
        return jarak;
    }

    public void setJarak(double jarak) {
        this.jarak = jarak;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

}
